//
//  ARTAvdioPlayer.h
//  ChartsDemo
//
//  Created by Kary on 2022/11/14.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ARTAvdioPlayer : NSObject


+ (instancetype)shareInstance;

- (void)playAvdioWithUrl:(NSString *)url;
/**
 音频设置播放模式
 */
- (void)changeAudioSessionCategory:(AVAudioSessionCategory)audioSessionCategory;

- (void)continuePlay;

- (void)pausePlayer;

- (void)restartAudioSession;

- (void)destroyPlayer;

@end

NS_ASSUME_NONNULL_END
